﻿using SqlSugar;

namespace FastCode.Models
{
    /// <summary>
    /// 数据库配置
    /// </summary>
    public class DBConfig : BaseModel
    {
        /// <summary>
        /// 数据库连接名
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 数据库类型
        /// </summary>
        [UIType(label: "数据库类型")]
        public DbType EDBType { get; set; }
        /// <summary>
        /// 连接字符串
        /// </summary>
        [UIType(label: "连接字符串")]
        public string? ConnectStr { get; set; }

    }

}
